/* 管理员布局样式 */
.admin-layout {
    min-height: 100vh;
}

.admin-layout .logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #1890ff;
    background: rgba(255, 255, 255, 0.2);
}

.admin-layout .ant-layout-sider {
    box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
}

.admin-layout .ant-layout-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}

.admin-layout .ant-layout-content {
    margin: 24px 16px;
    padding: 24px;
    background: #fff;
    min-height: 280px;
    border-radius: 8px;
}

/* 仪表盘样式 */
.admin-dashboard .ant-card {
    margin-bottom: 16px;
}

.admin-dashboard .statistic-card .ant-statistic-title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
}

.admin-dashboard .statistic-card .ant-statistic-content {
    font-size: 24px;
}

/* 促销规则管理样式 */
.admin-promotion-rules .ant-table {
    margin-top: 16px;
}

/* 用户管理样式 */
.admin-user-management .user-avatar {
    margin-right: 8px;
}

.admin-user-management .user-info {
    display: inline-block;
    vertical-align: middle;
}

.admin-user-management .user-email {
    font-size: 12px;
    color: #999;
}

.admin-user-management .ant-table-row .ant-btn {
    padding: 0 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-layout .ant-layout-sider {
        position: fixed;
        z-index: 100;
        height: 100vh;
    }
    
    .admin-layout .ant-layout-content {
        margin: 24px 0;
        padding: 16px;
    }
    
    .admin-dashboard .ant-col {
        margin-bottom: 16px;
    }
}